package com.dfbz.demo;

import java.io.File;

/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo04_File的创建与删除 {
    public static void main(String[] args) throws Exception{


//        File file = new File("002.txt");
//        System.out.println(file.delete());
//        System.out.println(file.delete());


        File file = new File("000\\aaa");

        System.out.println(file.mkdir());
//        System.out.println(file.delete());      // 删除目录时必须要保证目录是空目录

    }
}
